PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

person_corporations

Creates a person_corporations resource.

Creates a person_corporations resource.

Authorizations:
JWT
path Parameters
id
required
string

person_corporations identifier

Request Body schema:
required

The new person_corporations resource

code
string or null
creationDate
string or null <date-time>
yearEndDate
string or null <date-time>
firstPaymentDate
string or null <date-time>
people
Array of strings <iri-reference> [ items <iri-reference > ]
person
required
string <iri-reference>
logo
string

Get logo.

smallLogo
string

Get smallLogo.

number
string or null
employerNumberCan
string or null
employerNumberQc
string or null
noTps
string or null
noTvq
string or null
paymentsNbDays
integer
monthlyFee
string
paymentsTerms
string or null
paymentPeriodicity
string or null <iri-reference>
userForDefault
Array of strings <iri-reference> [ items <iri-reference > ]

Get userForDefault.

notes
string or null
deletedAt
string or null <date-time>
slug
required
string

DB Identifier

customProperties
any

Can contain anything (array, objects, nested objects...).

customData
Array of strings or null
createdAt
string <date-time>
updatedAt
string <date-time>
disabledAt
string or null <date-time>
object (Collection.jsonld)
upload_filename
string
upload_subfolder
string
upload_file
string
upload_file_link
string
timestamp
string <date-time>

Get createdAt.

upload_Subfolder
string
upload_File
string
upload_File_Link
string

Responses

Request samples

Content type
{
  • "code": "string",
  • "creationDate": "2019-08-24T14:15:22Z",
  • "yearEndDate": "2019-08-24T14:15:22Z",
  • "firstPaymentDate": "2019-08-24T14:15:22Z",
  • "people": [],
  • "logo": "string",
  • "smallLogo": "string",
  • "number": "string",
  • "employerNumberCan": "string",
  • "employerNumberQc": "string",
  • "noTps": "string",
  • "noTvq": "string",
  • "paymentsNbDays": 0,
  • "monthlyFee": "string",
  • "paymentsTerms": "string",
  • "paymentPeriodicity": "https://example.com/",
  • "userForDefault": [],
  • "notes": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "entityFiles": { },
  • "upload_filename": "string",
  • "upload_subfolder": "string",
  • "upload_file": "string",
  • "upload_file_link": "string",
  • "timestamp": "2019-08-24T14:15:22Z",
  • "upload_Subfolder": "string",
  • "upload_File": "string",
  • "upload_File_Link": "string"
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "code": "string",
  • "creationDate": "2019-08-24T14:15:22Z",
  • "yearEndDate": "2019-08-24T14:15:22Z",
  • "firstPaymentDate": "2019-08-24T14:15:22Z",
  • "people": [
    ],
  • "person": {
    },
  • "logo": "string",
  • "smallLogo": "string",
  • "number": "string",
  • "employerNumberCan": "string",
  • "employerNumberQc": "string",
  • "noTps": "string",
  • "noTvq": "string",
  • "paymentsNbDays": 0,
  • "monthlyFee": "string",
  • "paymentsTerms": "string",
  • "paymentPeriodicity": {
    },
  • "notes": "string",
  • "shortcode": "CO",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "peopleListing": "string",
  • "userForDefaultListing": "string",
  • "keyValueListing": "string",
  • "customPropertiesListing": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}